/**
*
*   class Classroom
*
*   stores information about a classroom
*
*   @author Ranie Jade Ramiso
*
*/

#ifndef CLASSROOM_H_INCLUDED
#define CLASSROOM_H_INCLUDED
#include <string>

class Classroom{
public:
    //! constructor
    inline Classroom(const char *name, const int capacity, const int id){
        mName = name;
        mCapacity = capacity;
        mId = id;
    }

    //! returns the name of the classroom
    inline const char *name() const { return mName.c_str(); }
    //! returns the id of the classroom
    inline int id() const { return mId; }
    //! returns the capacity of the classroom
    inline int capacity() const { return mCapacity; }

    //! set the classrooms's name
    inline void setName(const char* name) { mName = name; }
    //! set the classroom's capacity
    inline void setCapacity(const int capacity) { mCapacity = capacity; }
private:
    //! holds the name of the classroom
    std::string mName;
    //! holds the capacity of the classroom
    int mCapacity;
    //! holds the id of the classroom
    int mId;
};


#endif // CLASSROOM_H_INCLUDED
